function StageAssistant() {
}

StageAssistant.prototype.setup = function() {
	this.controller.pushScene({name: "main", disableSceneScroller: false});
	this.controller.setWindowOrientation("up");
};

StageAssistant.prototype.handleCommand = function(event)
{
	switch (event.type)
	{
		// enable default items here.
		case Mojo.Event.commandEnable:
			if (event.command == Mojo.Menu.helpCmd) {
				event.stopPropagation();
			}
			break;
		case Mojo.Event.command:
			if (event.command == Mojo.Menu.helpCmd) {
				var openURL = new Mojo.Service.Request
				(
					'palm://com.palm.applicationManager',
					{
						method: 'open',
						parameters:
						{
							id: 'com.palm.app.browser',
							params: {target: 'http://code.google.com/p/webos-yi-jing/'}
						}
					}
				);
			}
			break;
	}
};